package com.example.demo.core.common.costant;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ErrorCodeEnum {

    SUCCESS("200", "成功"),

    ERROR("500", "系统异常"),

    PARAMS_ERROR("400", "参数异常"),

    USER_NOT_FOUND("404", "用户不存在"),

    USER_EXIST("405", "用户已存在"),

    USER_NOT_LOGIN("406", "用户未登录");

    private final String code;

    private final String message;

}
